package com.bonc.rms.dao.tms;

import java.util.List;
import java.util.Map;

public interface IEntryLeaveDao {

	/**
	 * 获取每月份入职人数
	 * 
	 * @param departmentId
	 * @param startMonth
	 * @param endMonth
	 * @return
	 */
	List<Map<String, Object>> getEntryMap(Integer departmentId, String startMonth, String endMonth);
	
	/**
	 * 获取每月份离职人数
	 *  
	 * @param departmentId
	 * @param startMonth
	 * @param endMonth
	 * @return
	 */
	List<Map<String, Object>> getLeaveMap(Integer departmentId, String startMonth, String endMonth);
	
	/**
	 * 获取初始人数
	 * 
	 * @param departmentId
	 * @param startMonth
	 * @return
	 */
	int getInitialNumber(Integer departmentId, String endMonth);
	
}
